Documents for PDF, .NET Edition Documentation
Exists Method (StructList<T>)

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > StructList<T> Class : Exists Method
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the elements to search for.
Determines whether the StructList<T> contains elements that match the conditions defined by the specified predicate.
Syntax
'Declaration
 
Public Function Exists( _
   ByVal match As GrapeCity.Documents.Common.StructPredicate(Of T) _
) As System.Boolean
public System.bool Exists( 
   GrapeCity.Documents.Common.StructPredicate<T> match
)

Parameters

match
The GrapeCity.Documents.Common.StructPredicate`1 delegate that defines the conditions of the elements to search for.

Return Value

true if the StructList<T> contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
See Also

Reference

StructList<T> Class
StructList<T> Members